package com.itheima.stream.config;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

/**
 * @Description: 自定义发消息接口
 * @Version: V1.0
 */
public interface MySource {

    String OUTPUT = "stream_output";

    /**
     * @return output channel
     */
    @Output(MySource.OUTPUT)
    MessageChannel output();
}
